﻿using System.Windows.Media.Effects;

namespace Pixster.Slideshow.ShaderEffects
{
    public class PixelateTransition : TransitionEffect
    {
        private static PixelShader _pixelShader = new PixelShader();

        static PixelateTransition()
        {
            _pixelShader.UriSource = Global.MakePackUri("ShaderEffects/TransitionEffects/Source/PixelateTransition.ps");
        }

        public PixelateTransition()
        {
            this.PixelShader = _pixelShader;
            this.Name = "Pixelate";
        }
    }
}